package com.fenghongzhang.day009;

//数据模型类
public class User {

    /**
     * data : {"userId":388,"phoneNumber":null,"userName":"daming","userPwd":"123456","createTime":"2021-08-19T01:57:21.986+00:00","nikeName":null,"userAge":null,"money":0}
     * code : 0
     * msg : 操作成功！
     */

    private DataBean data;
    private int code;
    private String msg;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        /**
         * userId : 388
         * phoneNumber : null
         * userName : daming
         * userPwd : 123456
         * createTime : 2021-08-19T01:57:21.986+00:00
         * nikeName : null
         * userAge : null
         * money : 0
         */

        private int userId;
        private Object phoneNumber;
        private String userName;
        private String userPwd;
        private String createTime;
        private Object nikeName;
        private Object userAge;
        private int money;

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public Object getPhoneNumber() {
            return phoneNumber;
        }

        public void setPhoneNumber(Object phoneNumber) {
            this.phoneNumber = phoneNumber;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getUserPwd() {
            return userPwd;
        }

        public void setUserPwd(String userPwd) {
            this.userPwd = userPwd;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public Object getNikeName() {
            return nikeName;
        }

        public void setNikeName(Object nikeName) {
            this.nikeName = nikeName;
        }

        public Object getUserAge() {
            return userAge;
        }

        public void setUserAge(Object userAge) {
            this.userAge = userAge;
        }

        public int getMoney() {
            return money;
        }

        public void setMoney(int money) {
            this.money = money;
        }
    }
}
